package com.gome.mapper;

import com.gome.entity.Menu;
import com.gome.entity.RoleMenu;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoleMenuMapper  {


    void addRoleMenuByMenu(Menu menu);

    void deleteRoleMenu(String ocMenubm);

    List<RoleMenu> selectRoleMenuByRoleMenu(RoleMenu rm);

    void addRoleMenu(RoleMenu rm);

    void deleteRoleMenuByRolebm(String ocRolebm);
}
